package com.project.user.mapper;

import com.project.user.entity.UserPhoneCodeExample;
import com.project.user.entity.entitly.UserPhoneCode;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserPhoneCodeMapper {
    long countByExample(UserPhoneCodeExample example);

    int deleteByExample(UserPhoneCodeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserPhoneCode record);

    int insertSelective(UserPhoneCode record);

    List<UserPhoneCode> selectByExample(UserPhoneCodeExample example);

    UserPhoneCode selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserPhoneCode record, @Param("example") UserPhoneCodeExample example);

    int updateByExample(@Param("record") UserPhoneCode record, @Param("example") UserPhoneCodeExample example);

    int updateByPrimaryKeySelective(UserPhoneCode record);

    int updateByPrimaryKey(UserPhoneCode record);
}
